package pri.zjy.tree.model;

import java.util.List;

/**
 * @author zhangjy
 * @description N 叉树节点
 * @date 2025/4/7 13:21
 */
public class NTreeNode {

    public int val;

    public List<NTreeNode> children;

    public NTreeNode() {
    }

    public NTreeNode(int _val) {
        val = _val;
    }

    public NTreeNode(int _val, List<NTreeNode> _children) {
        val = _val;
        children = _children;
    }

}